package com.juyu.reader.pc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.juyu.reader.pc.dao.PayDao;
import com.juyu.reader.pc.model.Pay;

@Service
public class PayService {
	@Autowired
	public PayDao payDao;

	public List<Pay> findPay(Pay pay) {
		return payDao.findPay(pay);
	}

	public int countPay(Pay pay) {
		return payDao.countPay(pay);
	}

	public List<Pay> findPayBook(Pay pay) {
		return payDao.findPayBook(pay);
	}

	public List<Pay> findPayByValidate(Pay pay) {
		return payDao.findPayByValidate(pay);
	}

	public int insertPay(Pay pay) {
		return payDao.insertPay(pay);
	}

}
